<div class="row">
	<div class="panel default">
			<h3>Student Payment Records</h3>
			<span class="label">Payment Report: <?=$rdate($report->pr_date_start);?> - <?=$rdate($report->pr_date_end);?></span>
			<span class="label">Grade Level: <?=$report->level_desc == '' ? 'All' : $report->level_desc ;?></span>
	</div>
	<?if(!empty($report_result)):?>
	
	<table class="table">
		<tr class="info">
			<td>Student Name</td>
			<td>Id Number</td>
			<td>Total Paid</td>
			<!--<td></td>-->
		<tr>
		<tbody class="tabular-center">
			<?foreach($report_result as $rr):?>
				<tr>
					<td><?=ucwords($rr['fullname']);?></td>
					<td><?=$rr['idno'];?></td>
					<td><?=money($rr['total_payments']);?></td>
					<!--
					<?if(!empty($rr['fees'])):?>
						<?foreach($rr['fees'] as $f):?>
							<td><?=$f['spb_fee_name'];?><br><?=money($f['paid']);?></td>
						<?endforeach;?>
					<?else:?>
						<td>Unable</td>
					<?endif;?>
					-->
				</tr>
			<?endforeach;?>
		</tbody>
	</table>
	<?else:?>
		<div class="notice">No Payments Existing for this Date Intervals</div>
	<?endif;?>
</div>